﻿using System;
using System.Collections.Generic;
using System.Text;
using DuckGame.IQuack;

namespace DuckGame
{
    public class RedHeadDuck : DuckBase
    {
        public override string Display()
        {
            return "我是一只红头鸭";
        }

        public RedHeadDuck()
        {
            base.FlyBehavior = new FlyWithWing();
            base.QuackBehavior = new Quack2();
        }
    }
}
